Skip to content

Add PR drawer with details, comments, builds, and log viewer#45

Merged
Umaaz merged 1 commit into
mainfrom
steady-cove
Apr 8, 2026
Merged

Add PR drawer with details, comments, builds, and log viewer#45
Umaaz merged 1 commit into
mainfrom
steady-cove

Conversation

@Umaaz
Copy link
Copy Markdown
Contributor

@Umaaz Umaaz commented Apr 8, 2026

Summary

  • Adds a PR drawer panel (right side, next to Terminal/Changes) with two tabs: Details (markdown-rendered body + comments) and Builds (status checks with expandable log viewer)
  • Clicking a failed build fetches logs via gh run view --log-failed and shows them inline with a "Send to session" button to pipe CI failures directly into the Claude session
  • Fixes PR refresh: merged PRs are now re-fetched so new PRs on the same branch are discovered, and all sessions resolve the actual git branch via getCurrentBranch instead of relying on session title

Test plan

  • 155 tests passing (including new tests for getPrDetail, getCheckRunLogs, getCurrentBranch)
  • ESLint clean
  • TypeScript clean
  • Prettier formatted
  • Manual: open a session with a PR, click the PR button, verify drawer opens with details/comments
  • Manual: switch to Builds tab, click a failed check, verify logs load and "Send to session" works
  • Manual: verify merged PR sessions re-fetch and discover new PRs

🤖 Generated with Claude Code

Move the PR link from the breadcrumb into a toolbar button (next to
Terminal/Changes) that opens a right-side drawer panel. The drawer has
two tabs:

- Details: PR metadata, markdown-rendered body and comments (using
  react-markdown + remark-gfm)
- Builds: status checks list with expandable log viewer and "Send to
  session" to pipe failed CI logs into the Claude session

Also fixes PR refresh: merged PRs are now re-fetched (may have a new
PR on the same branch), and all sessions resolve the actual git branch
via getCurrentBranch instead of relying on session title.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Umaaz Umaaz enabled auto-merge April 8, 2026 10:28
@Umaaz Umaaz merged commit 23d64a7 into main Apr 8, 2026
3 checks passed
@Umaaz Umaaz deleted the steady-cove branch April 8, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant